-
Home
-
WOVN.io
-
1.10.1
-
Code
-
Classes
- Swapper
| Total Complexity |
39 |
| Dependencies |
5 |
| Dependents |
1 |
| Total lines |
254 |
| Lines of code |
194 |
| Logical lines of code |
114 |
| Comment lines |
1 |
| Methods |
12 |
| Properties |
8 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| request_wovn_api() |
A |
42 |
9 |
51 |
| set_lang_and_original_url() |
S |
55 |
5 |
19 |
| swap_html() |
S |
53 |
4 |
23 |
| isSearchEngineBot() |
S |
55 |
4 |
21 |
| set_lang_and_original_url_by_query() |
S |
61 |
3 |
12 |
| build_api_url() |
S |
56 |
2 |
16 |
| validate() |
S |
71 |
3 |
5 |
| generate_lang_identifieres() |
S |
68 |
3 |
7 |
| set_lang_and_original_url_by_subdomain() |
S |
58 |
2 |
14 |
| set_lang_and_original_url_by_path() |
S |
60 |
2 |
13 |
| __construct() |
S |
65 |
1 |
9 |
| remove_query() |
S |
74 |
1 |
4 |